/**
 * Classtyle Core 1.6.1
 * Author : classtyle@cswui.com
 *
 * 1.6.1
 * 优化 ie6iframe嵌入页面时的滚动条问题
 *
 * 1.6.0
 * 优化 <del>标签使用cs-txt-disabd保留删除线
 * 优化 新增表单控件
 *
 * ---------------------------------
 *
 * 1.5.2
 * 增加 cs-txt-disabd
 *
 * 1.5.1
 * 增加 cs-page-wide, cs-page-narrow, cs-txt-c
 * 删除 cs-form, cs-ico, cs-btn
 */

/* Reset
================================================================================================= */
html{-overflow-y:scroll}
body{color:#000;background:#fff;font-size:12px;line-height:166.6%}
body,input,select,button,textarea{font-family:Arial,Simsun,sans-serif}
h1,h2,h3,h4,h5,h6,select,input,textarea,button,table{font-size:100%}
body,h1,h2,h3,h4,h5,h6,ul,ol,li,form,p,dl,dt,dd,table,th,td,img,blockquote,legend,fieldset{margin:0;padding:0;border:0}
input,button,textarea,select,img{margin:0;line-height:normal}
abbr,acronym,address,cite,q,em,code,var,dfn,ins{font-style:normal;text-decoration:none}
q:before,q:after{content:""}
ul,ol{list-style:none}
table{border-collapse:collapse;border-spacing:0}
select,
input,
button,
button img{vertical-align:middle}

.page,.phd,.pbd,.pft{margin:auto}

/* Library
================================================================================================= */
/* 清除浮动和边距重叠
--------------------- */
.phd,
.pbd,
.pft,
.section,
.part,
.group,
.mod,
.mhd,
.mbd,
.mft,
.cs-l,
.cs-gs,
.cs-clear{+zoom:1}

.phd:before,
.pbd:before,
.pft:before,
.section:before,
.part:before,
.group:before,
.mod:before,
.mhd:before,
.mbd:before,
.mft:before,
.cs-l:before,
.cs-gs:before,
.cs-clear:before,
.phd:after,
.pbd:after,
.pft:after,
.section:after,
.part:after,
.group:after,
.mod:after,
.mhd:after,
.mbd:after,
.mft:after,
.cs-l:after,
.cs-gs:after,
.cs-clear:after{clear:both;content:".";font-size:0;display:block;height:0;overflow:hidden;visibility:hidden}

/* 浮动
--------------------- */
.cs-fl{float:left;display:inline}		/* 左浮动 */
.cs-fr{float:right;display:inline}		/* 右浮动 */

/* 文本对齐
--------------------- */
.cs-tl{text-align:left}					/* 居左 */
.cs-tc{text-align:center}				/* 居中 */
.cs-tr{text-align:right}				/* 居右 */

/* 屏蔽输入法
--------------------- */
.cs-noime{ime-mode:disabled}

/* 恢复默认外观（部分元素）
--------------------- */
.cs-unreset ul,
.cs-unreset ol{padding-left:24px}
.cs-unreset ul li{list-style:disc}
.cs-unreset ol li{list-style:decimal}
.cs-unreset td,
.cs-unreset th{border:1px solid #ccc;padding:0 .5em}

/* 内联块元素
--------------------- */
.cs-ib{display:inline-block;+display:inline;+zoom:1;vertical-align:middle}

/* 隐藏文字
--------------------- */
.cs-hidetxt{line-height:9999px!important;overflow:hidden;font-size:0!important}

/* 强制换行
--------------------- */
.cs-br{word-break:break-all;word-wrap:break-word}

/* 文字不换行
--------------------- */
.cs-nobr{white-space:nowrap}

/* QuirksMode优化（盒模型趋于ie）
--------------------- */
.cs-qmode *,
.cs-qmbox{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-khtml-box-sizing:border-box;box-sizing:border-box}
.cs-qmode td{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;-khtml-box-sizing:content-box;box-sizing:content-box}

/* 表单控件
--------------------- */
.cs-rdo input,
.cs-ckb input,
input.cs-rdo,
input.cs-ckb{width:16px;height:16px;padding:0;margin:2px 3px 2px 0;overflow:hidden}
.cs-btn{line-height:135%;padding:0 .5em;overflow:visible}

/* 页面样式
--------------------- */
.cs-page-wide{width:950px}
.cs-page-narrow{width:790px}

/* 文本
--------------------- */
.cs-txt-a{font-family:arial,sans-serif!important}				/* Arial */
.cs-txt-v{font-family:verdana,sans-serif!important}				/* Verdana */
.cs-txt-t{font-family:tahoma,sans-serif!important}				/* Tahoma */
.cs-txt-c{font-family:"Courier New",monospace!important}		/* Courier New */
.cs-txt-yh{font-family:"Microsoft Yahei",sans-serif!important}	/* 雅黑 */
.cs-txt-song{font-family:simsun,serif!important}				/* 宋体 */
.cs-txt-hei{font-family:simhei,serif!important}					/* 黑体 */
.cs-txt-xs{font-size:10px!important}							/* 超小字体 */
.cs-txt-s{font-size:12px!important}								/* 小字体 */
.cs-txt-m{font-size:14px!important}								/* 中字体 */
.cs-txt-l{font-size:16px!important}								/* 大字体 */
.cs-txt-xl{font-size:20px!important}							/* 超大字体 */
.cs-txt-b{font-weight:bold!important}							/* 粗体 */
.cs-txt-u{text-decoration:underline!important}					/* 下划线 */
.cs-txt-i{font-style:italic!important}							/* 斜体 */
.cs-txt-del{text-decoration:line-through!important}				/* 删除线 */
.cs-txt-succ{color:#090}										/* 成功 */
.cs-txt-impt,													/* 重要 */
.cs-txt-err{color:#c00}											/* 错误 */
.cs-txt-tips{color:#666}										/* 提示 */
.cs-txt-disabd{color:#999}										/* 禁用 */
a.cs-txt-disabd{text-decoration:none;cursor:default}			/* 禁用 */